package com.example.demo.mapper;

import com.example.demo.pojo.dbRole;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMapper {
    @Delete("delete from db_role where user_id=#{id}")
    int deleteById(Integer id);

    int insert(dbRole role);

    int update(dbRole role);
}
